package basic;

//@author A0098891H
public class CRUDable {
	protected int _id;// a unique id of an CRUDable object

	/**
	 * Get the unique ID of an CRUDable object
	 * @return ID of an CRUDable object
	 * @Precondition None
	 * @Postcondition return an integer
	 */
	public int get_id() {
		return _id;
	}
	

	/**
	 * Set the ID of an CRUDable object
	 * @param id a specified ID
	 * @Precondition id >= 0
	 * @Postcondition the ID will be set
	 */
	public void set_id(int id) {
		_id = id;
	}
}
